#include "stack.h"

void test_stack()
{
	HJR::stack<int, std::vector<int>> st1;
	st1.push(1);
	st1.push(2);
	st1.push(3);
	st1.push(4);

	while (!st1.empty())
	{
		std::cout << st1.top() << " ";
		st1.pop();
	}
	std::cout << std::endl;

	HJR::stack<int, std::list<int>> st2;
	st2.push(1);
	st2.push(2);
	st2.push(3);
	st2.push(4);

	while (!st2.empty())
	{
		std::cout << st2.top() << " ";
		st2.pop();
	}
	std::cout << std::endl;

	HJR::stack<int> st3;
	st3.push(1);
	st3.push(2);
	st3.push(3);
	st3.push(4);

	while (!st3.empty())
	{
		std::cout << st3.top() << " ";
		st3.pop();
	}
	std::cout << std::endl;

}

int main()
{
	//test_stack();
}